package org.example;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {
        MyContext context = new MyContext(new RedLightState());
        context.handle();
        context.setState(new GreenLightState());
        context.handle();
    }
}
